#ifndef QUERY_FILTER_H
#define QUERY_FILTER_H 1

#include <common/macro/build.h>
#include <query/query.h>
#include <storage/tuple/tuple.h>

API_LIBLOCAL result_e query_filter_prepare(query_t *);
API_LIBLOCAL int query_filter_tuple_visible_origin(query_t *, tuple_t *tuple);
API_LIBLOCAL int query_filter_tuple_visible_create(query_t *, tuple_t *tuple);
API_LIBLOCAL int query_filter_tuple_visible_delete(query_t *, tuple_t *tuple);
API_LIBLOCAL int query_filter_tuple_predicates(query_t *);
API_LIBLOCAL int query_filter_finalize(query_t *);

#endif
